package com.wade.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.wade.service.LoginService;

/**
 * 
 * @company: hua9group
 * @author wdChen
 * @date:2017年6月22日 上午11:47:00
 * @Description:
 */
@Controller
@RequestMapping(value = "/login")
public class LoginController {

  private static final Logger logger = LoggerFactory.getLogger(LoginController.class);

  @Autowired
  private LoginService loginService;

  @RequestMapping(value = "")
  public String login() {
    logger.info("logger");
    loginService.login();
    return "login";
  }
}

